package com.tbit.uqbike.push.constant;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * RabbitMQ 配置
 *
 * @author Leon
 * 2017年7月27日 下午2:25:09
 */
@Component
public class RabbitMQData {
    private final static Logger log = Logger.getLogger(RabbitMQData.class);
    public static String queueName = "tbit_uqbike_ter_position_push";

    @Value("${mq.queue.ter_position_push}")
    public void setQueueName(String queueName) {
        log.info("set RabbitMQData.queueName = " + queueName);
        RabbitMQData.queueName = queueName;
    }
}
